import request from '@neu/biz-core/utils/request'

export const detail = (ref) => {
  return request({
    url: '/cmdb/topolayouts/' + ref,
    method: 'get'
  })
}

export const update = (ref, data) => {
  return request({
    url: '/cmdb/topolayouts/' + ref,
    data: data,
    method: 'put'
  })
}
